To finish, complete, tidy or put in order.
I have almost squared away the last of the paperwork from that job.
To square the ship's yards to make her run before the wind, with the wind blowing straight from the stern.